package com.alks.entity.data.entity;

import java.math.BigDecimal;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2025-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PS_IE_DATA")
@ApiModel(value="PsIeData对象", description="")
public class PsIeData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "类型")
    private String ieType;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "线别日产能")
    private BigDecimal ieQty;

    @ApiModelProperty(value = "人均日产能")
    private BigDecimal ppdQty;

    @ApiModelProperty(value = "建档人")
    private String userId;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "建档时间")
    private LocalDateTime sysDate;


}
